<template>
  <div class="baomingrevise">
    <!-- 标题 -->
    <el-row class="header">
      <el-col :span="2" class="headerImg">
        <img src="../assets/left.png" alt />
      </el-col>
      <el-col :span="22" class="headerTitle">{{title}}</el-col>
    </el-row>
    <!-- 列表 -->
    <el-row class="kc">
      <el-col :span="8" class="kcimg">
        <img src="../assets/1308040.png" alt />
      </el-col>
      <el-col :span="16" class="kcdetil">
        <p class="kctitle">科研能力提升策略（优秀班级 ）</p>
        <p class="kcaddress">地点：北京市</p>
        <p class="kctime">10月9号至10月20号（10天）</p>
      </el-col>
    </el-row>
    <el-row class="list">
      <el-col :span="20">报名人数限制</el-col>
      <el-col :span="4">
        <el-switch v-model="value" active-color="#13ce66" inactive-color="#ff4949"></el-switch>
      </el-col>
    </el-row>

    <el-row class="list">
      <el-col :span="12">报名截止时间</el-col>
      <el-col :span="12" class="baomingTime">2019年10月21日 &nbsp;09:20</el-col>
    </el-row>
    <el-row class="list">
      <el-col :span="20">业务联系人：秦胜珠</el-col>
      <el-col :span="4" class="ywlxr">
        <img src="../assets/right@2x.png" alt />
      </el-col>
    </el-row>
    <!-- 保存 -->
    <el-row>
      <el-col :span="24" class="save">保存</el-col>
    </el-row>
  </div>
</template>
<script>
export default {
  name: "baomingrevise",
  data() {
    return {
      title: "预报名修改",
      labelPosition: "left",
      value: true
    };
  }
};
</script>


<style lang="less" scoped>
* {
  font-size: 0.14rem;
}
.baomingrevise {
  background: #f8f8f8;
}
.header {
  background: #ffffff;
  height: 0.8rem;
  overflow: hidden;
  border-bottom: 1px solid #f8f8f8;
  .headerImg {
    height: 0.8rem;
    img {
      width: 0.3rem;
      height: 0.5rem;
      overflow: hidden;
      margin-top: 0.15rem;
      float: right;
    }
    // background: red;
  }
  .headerTitle {
    font-size: 0.26rem;
    line-height: 0.8rem;
    text-align: center;
    font-weight: 600;
  }
}
// 课程图
.kc {
  margin: 0.1rem 0;
  background: #fff;
  padding: 0.25rem;
  .kcimg {
    background: #000;
    overflow: hidden;
    img {
      width: 100%;
    }
  }
  .kcdetil {
    text-indent: 0.2rem;
    .kctitle {
      font-size: 0.25rem;
      font-weight: 600;
      margin-bottom: 0.3rem;
    }
    .kcaddress {
      color: #aaa2a2;
      line-height: 0.4rem;
    }
    .kctime {
      color: #aaa2a2;
      line-height: 0.4rem;
    }
  }
}

// form
.list {
  height: 0.8rem;
  margin: 0.1rem 0;
  background: white;
  line-height: 0.8rem;
  font-size: 0.18rem;
  text-indent: 0.2rem;
  .baomingTime {
    color: #fc1804;
  }
}
.save {
  width: 100%;
  height: 1rem;
  background: #fc1804;
  text-align: center;
  font-size: 0.25rem;
  line-height: 1rem;
  position: fixed;
  bottom: 0;
  left: 0;
  color: #ffffff;
  font-weight: 600;
}
</style>